package cn.yunhe.entity;

import java.io.Serializable;

/**
 * Created by Administrator on 2018/5/22.
 */
public class Assistant implements Serializable {
    private int assistant_id;
    private String assistant_name;
    private String phone;
    private String pwd;
    private Dept dept;
    private String email;
    private int assistant_state;
    private Role role;

    public Assistant() {
        super();
    }

    public Assistant(int assistant_id, String assistant_name, String phone, String pwd, Dept dept, String email, int assistant_state, Role role) {
        this.assistant_id = assistant_id;
        this.assistant_name = assistant_name;
        this.phone = phone;
        this.pwd = pwd;
        this.dept = dept;
        this.email = email;
        this.assistant_state = assistant_state;
        this.role = role;
    }

    public int getAssistant_id() {
        return assistant_id;
    }

    public void setAssistant_id(int assistant_id) {
        this.assistant_id = assistant_id;
    }

    public String getAssistant_name() {
        return assistant_name;
    }

    public void setAssistant_name(String assistant_name) {
        this.assistant_name = assistant_name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getAssistant_state() {
        return assistant_state;
    }

    public void setAssistant_state(int assistant_state) {
        this.assistant_state = assistant_state;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    @Override
    public String toString() {
        return "Assistant{" +
                "assistant_id=" + assistant_id +
                ", assistant_name='" + assistant_name + '\'' +
                ", phone='" + phone + '\'' +
                ", pwd='" + pwd + '\'' +
                ", dept=" + dept +
                ", email='" + email + '\'' +
                ", assistant_state=" + assistant_state +
                ", role=" + role +
                '}';
    }
}
